home *** CD-ROM | disk | FTP | other *** search
- Path: news.uidaho.edu!usenet
- From: dickow@raven.csrv.uidaho.edu (dickow)
- Newsgroups: comp.sys.amiga.applications
- Subject: Re: AmiTCP and "hostname" problems
- Date: 8 Jan 1996 23:14:42 GMT
- Organization: University of Idaho, Moscow, Idaho
- Distribution: world
- Message-ID: <1334.6581T919T751@raven.csrv.uidaho.edu>
- References: <917.6578T630T569@mindlink.bc.ca>
- NNTP-Posting-Host: xslip73.csrv.uidaho.edu
- Mime-Version: 1.0
- Content-Type: text/plain; charset=US-ASCII
- Content-Transfer-Encoding: 7bit
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
-
-
- >Does anyone know what the function of the "hostname" program in amitcp is?
-
- >(Amitcp 4.0 demo, in bin/hostname)
-
- >My startnet script seems to hang occasionally at the line:
-
- > setenv HOSTNAME `AmiTCP:bin/hostname`
-
- >It simply sits there doing nothing. WHen it eventually times out, I can't
- >do anything like "ping" my server, etc.
-
- The Hostname cmd in AmiTCP:bin prints out the string that represents YOUR
- machine's alias name, with domain name too, as (usually) dynamically assigned
- during negotiation with your server. You can use this command to find out
- your own machine's address 'alias' in order to reach your own machine, for
- instance, if you, say, telnet to one of your shell accounts and then want to
- ftp a file back to your home machine.
-
- Now, the AmiTCP setup I use creates the HOSTNAME environment variable such
- that it actually calls this AmiTCP:/bin program of the same name. Not long
- ago, however, I discovered some 'other' TCP client software ('mail' or
- 'sendmail'...can't remember) that expected the env variable to be a copy of
- the string, not the command reference. You might check to see if other
- programs want an environment variable with the same name but different format.
-
- **************************************//*
- * Bob Dickow (dickow@uidaho.edu) \\// *
- *****************************************
-
-